#ifndef __USER_H__
#define __USER_H__

#include "ws2812.h"
#include "max4466.h"
#include "tim.h"
#include "usart.h"
#include "stdio.h"

typedef enum 
{
	LIGHT_MODE_Changecolor = 0,
	LIGHT_MODE_flowlight,
	LIGHT_MODE_breathlight,
	LIGHT_MODE_Music,

}light_mode_enu;

extern uint8_t g_mybuff[5];

static void light_mode_select(light_mode_enu mode);
void hj_Music(void);
void hj_ADCforMusic(void);
void hj_ChangeColor_Rng_user(void);
void hj_Breathlight_user(void);
void hj_Flowlight_user(void);

#endif

